<?php

namespace App\Models;

use App\Models\Contract\SerializeDatetime;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class TaskDetails extends Model
{
    use HasFactory, SerializeDatetime;

    protected $fillable = [
        'user_id',
        'data_id',
        'task_id',
        'reward',
        'media_price',
        'remark',
        'exchange_rate',
        'amount',
        'child_user_withdraw_at',
        'source',
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }


}
